#include "..\\include\cfg_items.h"
#include "config_data.h"

#pragma diag_suppress=Pe177

__root const CFG_HDR cfghdr0={CFG_CHECKBOX,"Control by keys",0,0};
__root const int control=1;

__root const CFG_HDR cfghdr17={CFG_UINT,"Spacing between snowflakes",0,10000};
__root const unsigned int RAND=188;

__root const CFG_HDR cfghdr27={CFG_UINT,"Snowflakes on start",0,10000};
__root const unsigned int maxsnow2=30;

__root const CFG_HDR cfghdr37={CFG_UINT,"Minimum snowflakes on screen",0,10000};
__root const unsigned int stepsnow=5;

__root const CFG_HDR cfghdr47={CFG_UINT,"Screen width",0,10000};
__root const unsigned int width=188;

__root const CFG_HDR cfghdr57={CFG_UINT,"Screen height",0,10000};
__root const unsigned int height=220;

__root const CFG_HDR cfghdr1v7={CFG_UINT,"Refresh time (0 - key)",0,1000000};
__root const unsigned int timem=0;
 
__root const CFG_HDR cfghdr93={CFG_LEVEL,"Physics",1,0};
__root const CFG_HDR cfgphi1={CFG_UINT,"rate of descent 1",0,100};
__root const unsigned int winds1=1;
__root const CFG_HDR cfgphi2={CFG_UINT,"rate of descent 2",0,100};
__root const unsigned int winds2=2;
__root const CFG_HDR cfgphi3={CFG_UINT,"rate of descent 3",0,100};
__root const unsigned int winds3=3;
 
__root const CFG_HDR cfgphi4={CFG_UINT,"blast 1",0,10000};
__root const unsigned int windp1=0x08;
__root const CFG_HDR cfgphi5={CFG_UINT,"blast 2",0,10000};
__root const unsigned int windp2=0x10;
__root const CFG_HDR cfgphi6={CFG_UINT,"blast 3",0,10000};
__root const unsigned int windp3=0x10;
 
__root const CFG_HDR cfgphit3={CFG_UINT,"types",0,7};
__root const unsigned int types=7;

__root const CFG_HDR cfgphiti3={CFG_UINT,"max. images",0,5};
__root const unsigned int images=5;

__root const CFG_HDR cfghdr05={CFG_LEVEL,"",0,0};

__root const CFG_HDR cfghdra93={CFG_LEVEL,"Advanced options",1,0};

__root const CFG_HDR cfghdr6={CFG_CBOX,"Raster modes",0,16};
__root const int RASTN=14;
__root const CFG_CBOX_ITEM cfgcbox1[16]={"BLACKNESS","NOTSRCERASE","B_UNK_2","NOTSRCCOPY","SRCERASE","DSTINVERT","SRCINVERT","B_UNK_7","SRCAND","B_UNK_9","B_UNK_10","MERGEPAINT","SRCCOPY","B_UNK_13","SRCPAINT","WHITENESS"};

__root const CFG_HDR cfghdrc4={CFG_COLOR_INT,"Brush Color",0,0};
__root const unsigned int Color_br=0xFF000000;

__root const CFG_HDR cfghdre0={CFG_CHECKBOX,"Draw statusbar",0,0};
__root const int IS_ENABLED_sb=0;

__root const CFG_HDR cfghdrr0={CFG_CHECKBOX,"Draw softkey",0,0};
__root const int IS_ENABLED_sk=0;

__root const CFG_HDR cfghdrx57={CFG_UINT,"Softbar position",0,10000};
__root const unsigned int sbpoz=194;

__root const CFG_HDR cfghdrm0={CFG_CHECKBOX,"Use mask",0,0};
__root const int mask=1;

__root const CFG_HDR cfghdr59={CFG_CHECKBOX,"Clear standby",0,0};
__root const int clearsb=0;

__root const CFG_HDR cfghdr_folder={CFG_UTF16_STRING,"Image folder",0,127};
__root const wchar_t folder[128]=L"/tpa/user/other/config/snow";

__root const CFG_HDR cfghdrl05={CFG_LEVEL,"",0,0};
